/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tpasswordinfo.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.jeeplus.core.persistence.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.jeeplus.modules.tpasswordinfo.entity.TPasswordInfo;

/**
 * 密码管理MAPPER接口
 * @author pr
 * @version 2022-04-22
 */
@Mapper
@Repository
public interface TPasswordInfoMapper extends BaseMapper<TPasswordInfo> {

    TPasswordInfo cmsLogin(@Param("passwordType") String menuType, @Param("password")String password);

    int updatePasswrod(@Param("password") String password,@Param("passwordType") String passwordType,@Param("updateBy") String updateBy);

    TPasswordInfo getTPasswordInfoByType(@Param("passwordType") String type);
}